﻿
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Template Library</title>

    <style type='text/css' media='all'>
        @import url('./userguide.css');
    </style>
    <link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
    <script type="text/javascript" src="js/jquery.min.js">
    </script>
    <script type="text/javascript" src="js/functions.js">
    </script>
    <script type="text/javascript" src="js/nav.js">
    </script>

    <meta http-equiv='expires' content='-1' />
    <meta http-equiv='pragma' content='no-cache' />
    <meta name='robots' content='all' />

</head>
<body>

    <!-- START NAVIGATION -->
    <div id="nav"><div id="nav_inner">
    <script type="text/javascript">
        create_menu('null');
    </script></div></div>
    <div id="nav2"><a name="top">&nbsp;</a><a href="#" id="toggle_toc"><img src="images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
    <div id="masthead">
        <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
            <tr>
                <td><h1>Documentation</h1></td>
                <td id="breadcrumb_right">Author:<a href="http://philsturgeon.co.uk">Phil Sturgeon</a></td>
            </tr>
        </table>
    </div>
    <!-- END NAVIGATION -->
    <!-- START BREADCRUMB -->
    <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
        <tr>
            <td id="breadcrumb">
                <a href="http://philsturgeon.co.uk/code/codeigniter-template">Template</a> &nbsp;&#8250;&nbsp;
                Documentation
            </td>
        </tr>
    </table>
    <!-- END BREADCRUMB -->

    <br clear="all" />


    <!-- START CONTENT -->
    <div id="content">
        <h1>Change Log</h1>

        <h2>Version 1.6.0</h2>
        <p>Release Date: 26/10/2010</p>

        <ul>
            <li>Comes with documentation, which is what you are looking at, so you probably know that.</li>
            <li>Added the <kbd><a href="library.html#set">$this->template->set();</a></kbd> method for assigning data with two arguments or a object/array.</li>
            <li>Fixed some random bugs with locating layouts, theme partials, etc.</li>
        </ul>

        <h2>Version 1.5.0</h2>
        <p>Release Date: 28/09/2010</p>

        <ul>
            <li>Added magical methods __get() and __set() to allow Kohana-style <kbd>$this->template->foo = 'bar';</kbd> for assigning data.</li>
            <li>Added <a href="modules.html">mobile support</a>.</li>
            <li>Third parameter for <kbd><a href="library.html#set_partial">$this->template->set_partial();</a></kbd> is now an optional array/object for data specific to that partial only.</li>
        </ul>

        <h2>Version 1.4.0</h2>
        <p>Release Date: 23/07/2010</p>

        <ul>
            <li>Removed possibility of duplicate SEO entries, call <kbd>$this->template->set_metadata('keywords', 'foo');</kbd> twice and it will use the 2nd.</li>
            <li>Re-did inject logic, now its just for shoving a hunk of HTML into a partial.</li>
            <li>Fixed <kbd><a href="library.html#theme_exists">$this->template->theme_exists()</a></kbd>, it was not using slug name so falsely returned true.</li>
        </ul>

        <h2>Version 1.3.0</h2>
        <p>Release Date: 24/03/2010</p>

        <ul>
            <li>You can now use any extension for your files, not just whatever EXT is set to.</li>
            <li>Updated Template library to add support for getting theme layout lists and checking they exist.</li>
            <li>Added more options to the default config file.</li>
            <li>Now supports a <a href="index.html#config">config file</a> that allows a default theme to be set and "Theme locations" to be used. That means you could have <dfn>application/themes<dfn> as one and <dfn>third_party/themes<dfn> as another.</dfn></dfn></dfn></dfn></li>
        </ul>

    </div>
    <!-- END CONTENT -->


    <div id="footer">
        <p><a href="#top">Top of Page</a></p>
        <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2010 Phil Sturgeon &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
    </div>

</body>
</html>